package com.rd.student.dashuju.zhengruixian.kaoshi0808;

public class Student1 {
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getYgrade() {
        return ygrade;
    }

    public void setYgrade(int ygrade) {
        this.ygrade = ygrade;
    }

    public int getSgrade() {
        return sgrade;
    }

    public void setSgrade(int sgrade) {
        this.sgrade = sgrade;
    }

    private String name;
    private int ygrade;
    private int sgrade;

    public int getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum = sum;
    }

    private int sum;
    public Student1(){}
    public Student1(String name,int ygrade,int sgrade){
        this.name=name;
        this.ygrade=ygrade;
        this.sgrade=sgrade;

    }
}
